package com.example.carbon.demos.web.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.carbon.demos.web.entity.Property;
import com.example.carbon.demos.web.mapper.PropertyMapper;
import com.example.carbon.demos.web.service.PropertyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wms
 * @since 2024-09-10
 */
@Service
public class PropertyServiceImpl extends ServiceImpl<PropertyMapper, Property> implements PropertyService {
    @Autowired
    PropertyMapper PropertyMapper;

    public IPage pageWrapper(IPage<Property> page, Wrapper<Property> wrapper) {
        return PropertyMapper.pageWrapper(page,wrapper);
    }
}
